// ES11: 空值合并运算符 ??

const foo = 0;
// const bar = foo || "default value";
const bar = foo ?? "default value";
console.log(bar);
